package p.sunmes.les.action;

import com.badlogic.gdx.scenes.scene2d.Action;
import com.badlogic.gdx.utils.Disposable;

public class DisposeAction extends Action {

	Disposable target;

	public DisposeAction(Disposable target) {
		this.target = target;
	}

	@Override
	public boolean act(float delta) {
		target.dispose();
		return true;
	}

}
